package com.itrip.service;

import com.itrip.document.Hotel;
import com.itrip.dto.HotelRoomDTO;
import com.itrip.vo.hotel.HotelVO;
import org.apache.solr.client.solrj.SolrServerException;

import java.io.IOException;
import java.util.List;

public interface HotelService {
    List<Hotel> getHotelByQuery(HotelVO hotelVO, Integer pageNow, Integer pageSize) throws IOException, SolrServerException;

    long getHotelCount(HotelVO hotelVO) throws IOException, SolrServerException;

    HotelRoomDTO getHotelRoomList(Integer id);

    List<HotelRoomDTO> getQueryHotelRoomList(String hotelName);
}

